<?php slot('title', "注册 - 五行测评") ?>
<?php slot('keywords', "五行,五行测评,五行人格,五行管理,五行养生") ?>
<?php slot('description', "五行测评 - 帮你寻找困惑的答案！") ?>

<form method="post" action="<?php echo url_for('@sf_guard_register') ?>">
  <div class="wrap clearfix" style="margin-bottom: 100px;">
    <div class="column span-600">
      <table class="data-entry mt-30">
        <caption>快速注册</caption>
        <tbody>
          <tr>
            <th><?php echo $form['email_address']->renderLabel('邮箱：') ?></th>
            <td>
              <?php echo $form['email_address']->render() ?>
              <span>请输入你常用的Email，用来登录五行测评</span>
            </td>
          </tr>
          <tr>
            <th><?php echo $form['password']->renderLabel('设置密码：') ?></th>
            <td>
              <?php echo $form['password']->render() ?>
              <span>设置一个密码，最少6个字符，英文字母、数字或符号</span>
            </td>
          </tr>
          <tr>
            <th><?php echo $form['password_again']->renderLabel('确认密码：') ?></th>
            <td>
              <?php echo $form['password_again']->render() ?>
              <span>请再次输入设置的密码</span>
            </td>
          </tr>
          <tr>
            <th><?php echo $form['username']->renderLabel('名号：') ?></th>
            <td>
              <?php echo $form['username']->render() ?>
              <span>给自己起个名字吧</span>
            </td>
          </tr>
          <tr>
            <th></th>
            <td>
              <label>
                <?php echo $form['agreement']->render(array('class' => 'checkbox', 'style' => 'margin:0; vertical-align:middle;')) ?>
                我已经认真阅读并同意<a href="<?php echo url_for(array('sf_route' => 'static_file', 'role' => 'agreement')) ?>" target="_blank">《使用协议》</a>。
              </label>
            </td>
          </tr>
          <tr>
            <th></th>
            <td>
              <?php echo $form->renderHiddenFields() ?>
              <input type="submit" name="button" value="注册" />
            </td>
          </tr>
        </tbody>
      </table>
    </div>
    <div class="column span-300 last">
      <p class="mt-80">
        &gt; 已经拥有帐号了？
        <a href="<?php echo url_for('@sf_guard_signin') ?>">直接登录</a>
      </p>
    </div>
  </div>
</form>
